﻿/// <reference path="TsLinq.d.ts" />
/// <reference path="Timespan.ts" />
/// <reference path="Dictionary.ts" />
//
//  Implementation for a stop watch.
//
var StopWatch = (function () {
    function StopWatch() {
        this.msStart = Date.now();
    }
    StopWatch.start = function () {
        var stopW = new StopWatch();
        return stopW;
    };

    StopWatch.prototype.constuctor = function () {
    };

    StopWatch.prototype.stop = function () {
        var span = new Timespan(Date.now() - this.msStart);
        return span;
    };
    return StopWatch;
})();
